﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="TwitterViewer.Login"
	x:Name="Window"
	Title="Login"
	Width="221" Height="267" ResizeMode="NoResize">

	<Grid x:Name="LayoutRoot">
		<Grid.Background>
			<LinearGradientBrush EndPoint="0.5,0.944" StartPoint="0.5,0.056">
				<GradientStop Color="#FFFFFFFF" Offset="0.524"/>
				<GradientStop Color="#FFC0DBDF" Offset="0.995"/>
			</LinearGradientBrush>
		</Grid.Background>
		<StackPanel HorizontalAlignment="Stretch" Margin="25,30,25,0" VerticalAlignment="Top" Width="150">
			<Label Content="Username:"/>
			<TextBox HorizontalAlignment="Stretch" Margin="5,0,0,0" x:Name="UsernameTextBox" TextWrapping="Wrap"/>
			<Label Content="Password:" d:LayoutOverrides="Height"/>
      <PasswordBox d:LayoutOverrides="Height" HorizontalAlignment="Stretch" Margin="5,0,0,0" x:Name="PasswordTextBox" Width="Auto"/>
			<Button d:LayoutOverrides="Height" HorizontalAlignment="Stretch" Margin="10,15,10,0" x:Name="LoginButton" Content="Login" Click="LoginButton_Click" IsDefault="True"/>
			<Button d:LayoutOverrides="Width, Height" Margin="10,15,10,0" Content="Use Public Timeline" Click="Button_Click"/>
		</StackPanel>
	</Grid>
</Window>